package com.central.apps.service;

import java.util.List;
import java.util.Map;

/**
 * 项目管理成本接口类
 *
 * @author admin
 */
public interface ProjectCostService {

    /**
     * 项目成本树
     *
     * @param params
     * @return List
     */
    List<Map<String, Object>> costTree(String app, Map<String, Object> params, boolean isPermission) throws Exception;

    /**
     * 项目成本树
     *
     * @param params
     * @return List
     */
    List<Map<String, Object>> costStatisticTree(String app, Map<String, Object> params, boolean isPermission) throws Exception;

    /**
     * 更新项目概算成本执行比例
     *
     * @param proId
     * @throws Exception
     */
    void updProExecuteCost(Integer proId) throws Exception;

    /**
     * 更新项目预算成本执行比例
     *
     * @param proId
     * @throws Exception
     */
    void updProPlanExecuteCost(Integer proId) throws Exception;
}
